package com.neusoft.tijiancms.mapper;

import com.neusoft.tijiancms.po.Hospital;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface HospitalMapper {
    /**
     * 根据Id查询信息
     * @param hospital
     * @return
     */
    @Select("SELECT * FROM hospital WHERE hpId=#{hpId}")
    public Hospital getHospitalById(Hospital hospital);
}
